﻿using System.Windows;

namespace OpenLS.Spreadsheet
{
    public class AnchorElement
    {


        public static AnchorFrameType GetFrameType(DependencyObject obj)
        {
            return (AnchorFrameType)obj.GetValue(FrameTypeProperty);
        }

        public static void SetFrameType(DependencyObject obj, AnchorFrameType value)
        {
            obj.SetValue(FrameTypeProperty, value);
        }

        // Using a DependencyProperty as the backing store for FrameType.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty FrameTypeProperty =
            DependencyProperty.RegisterAttached("FrameType", typeof(AnchorFrameType), typeof(AnchorElement), new UIPropertyMetadata(AnchorFrameType.MoveAndRotate));


    }
}